package com.htgd.gardenexpo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class GeConPlantVO {

    @ApiModelProperty(value = "植物编号")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

//    @ApiModelProperty(value = "胸(地)径类型('1':胸径，'2':地径)")
//    private String breastType;
//
//    @ApiModelProperty(value = "胸(地)径(cm)")
//    private String breast;
//
//    @ApiModelProperty(value = "高度(cm)")
//    private String height;
//
//    @ApiModelProperty(value = "冠幅(cm)")
//    private String crown;
//
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "封面")
    private String picture;

    @ApiModelProperty(value = "植物图片(json)")
    private String plantImg;

    @ApiModelProperty(value = "状态 0.待审核 1.已审核 2.审核失败 3.已发布 -1.已删除 4.未提交")
    private String status;

    @ApiModelProperty(value = "状态 待审核 已审核 审核失败 已发布 已删除 未提交")
    private String statusText;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    @TableField("QR_code")
    @ApiModelProperty(value = "二维码")
    private String ORCode;

    @ApiModelProperty(value = "植物图片")
    private List<String> images;

    @ApiModelProperty(value = "植物名称")
    private String nameZh;

    private String nameEn;

    private String species;

    private String introduction;

    private String distribution;

    private String habit;

    @TableField(value = "`index`")
    private String index;
}
